package com.ln.asset.core.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ln.asset.core.pojo.Maintain;

import java.util.Map;

/**
 * <p>
 * 维修表 服务类
 * </p>
 *
 * @author jijiaqi
 * @since 2022-05-02
 */
public interface MaintainService extends IService<Maintain> {


    IPage<Maintain> getMainListPage(Page<Maintain> objectPage);

    void insertMain(Maintain maintain);

    void updateMainStatus(Integer status, Maintain maintain);

    void delMain(Integer id);

    Map<String, Object> selectDetails(Integer id);
}
